package com.doubao.doubao.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;


@Data
//@Builder
@TableName("bms_apply")
@AllArgsConstructor
@NoArgsConstructor
public class BmsApply implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    /**
     * 作者ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 内容
     */
    @TableField(value = "applySession")
    private String applySession;


    /**
     * topicID
     */
    @TableField("username")
    private String username;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date applydata;
//    @TableField(fill = FieldFill.INSERT)    // 表示在进行插入操作时会填充字段
//    private Date createTime; in_apply


    @TableField("role")
    private int role;

//    @Builder.Default
    @TableField("`status`")
    private int status ;




}
